package com.hh.bss.mail;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

import javax.activation.DataHandler;
import javax.mail.Address;
import javax.mail.Authenticator;
import javax.mail.BodyPart;
import javax.mail.PasswordAuthentication;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;

//import com.sun.istack.internal.ByteArrayDataSource;

import javax.mail.util.ByteArrayDataSource;

public class SendMailInfo {

	/**
	 * Field mailServerAddress.
	 */
	private String mailServerAddress;
	private String port="25";

	/** */
	/**
	 * Field user.
	 */
	private String user;

	/** */
	/**
	 * Field password.
	 */
	private String password;

	/** */
	/**
	 * Field toAddress.
	 */
	private String toAddress;

	/** */
	/**
	 * Field ccAddress.
	 */
	private String ccAddress;
	
	private String bCcAddress;

	/** */
	/**
	 * Field title.
	 */
	private String title;

	/** */
	/**
	 * Field content.
	 */
	private String content;

	/** */
	/**
	 * Field isHtml.
	 */
	private boolean isHtml = true;
	private boolean isAuth = true;

	private Map attachmentFiles = new HashMap();


	private String senderAddress;
	/**是否需要回执*/
	private boolean replysign = false;  //默认不需要


	
	public String getbCcAddress() {
		return bCcAddress;
	}


	public void setbCcAddress(String bCcAddress) {
		this.bCcAddress = bCcAddress;
	}


	public boolean getReplysign() {
		return replysign;
	}


	public void setReplysign(boolean replysign) {
		this.replysign = replysign;
	}


	public String getBCcAddress() {
		return bCcAddress;
	}


	public void setBCcAddress(String bCcAddress) {
		this.bCcAddress = bCcAddress;
	}
	
	public boolean isAuth() {
		return isAuth;
	}


	public void setAuth(boolean isAuth) {
		this.isAuth = isAuth;
	}


	public String getMailServerAddress() {
		return mailServerAddress;
	}


	public void setMailServerAddress(String mailServerAddress) {
		this.mailServerAddress = mailServerAddress;
	}




	public String getPort() {
		return port;
	}


	public void setPort(String port) {
		this.port = port;
	}


	public String getUser() {
		return user;
	}


	public void setUser(String user) {
		this.user = user;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getToAddress() {
		return toAddress;
	}


	public void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}


	public String getCcAddress() {
		return ccAddress;
	}


	public void setCcAddress(String ccAddress) {
		this.ccAddress = ccAddress;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public boolean isHtml() {
		return isHtml;
	}


	public void setHtml(boolean isHtml) {
		this.isHtml = isHtml;
	}


	public Map getAttachmentFiles() {
		return attachmentFiles;
	}


	public void setAttachmentFiles(Map attachmentFiles) {
		this.attachmentFiles = attachmentFiles;
	}


	public String getSenderAddress() {
		return senderAddress;
	}


	public void setSenderAddress(String senderAddress) {
		this.senderAddress = senderAddress;
	}




	
}
